package test;

import resoft.jeasyform.event.EventHandler;
import resoft.jeasyform.components.Window;
import resoft.jeasyform.components.Component;

/**
 * <p></p>
 * User: albert
 * Date: Aug 27, 2007
 * Time: 3:13:25 AM
 */
public class LoginEvent implements EventHandler {
    public boolean execute(Window window, Component source, int eventType) {
        //window.waitConfirmation("please confirm to login",new AfterConfirmEvent());
//        MenuLoader runner = new DefaultMenuLoader();
        window.openWindow("main",null);
//        window.showMessageBox("Test");
        return true;
    }
}
